home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 038a / edit_qb.zip / FDATA.ASM < prev    next >
Assembly Source File  |  1991-05-23  |  950b  |  28 lines

  1. ;«RM92»
  2. ; updated 4/23/91
  3.  
  4. DOSSEG
  5. .MODEL MEDIUM, BASIC
  6.  
  7.     Public B$TEMPDATA, B$STRINGLEN, B$STRINGOFF
  8.  
  9. ;======================================================================
  10. ; Use it to copy strings to this buffer to automatically
  11. ; append a null byte.  Also allow a shared data string area.
  12. ; Note:
  13. ; Int 21h, Function 60h requires that the output storage buffer be at
  14. ; least 128 bytes long.
  15. ; Schulman, "Undocumented DOS", (Addison Wesley 1990), page 565
  16. ; But, Dettmann, "DOS Programmer's Reference" 2d Ed. (Que 1989), page 660
  17. ; states that buffer is only 67 bytes long.  Which one is correct?
  18. ; I don't want to find out, so I picked the most conservative
  19. ;======================================================================
  20.  
  21. .DATA
  22.     EVEN
  23.     B$TEMPDATA    DB    128 DUP(0)  ;fixed length string
  24.     B$STRINGLEN   DW        0       ;string descriptor length
  25.     B$STRINGOFF   DW        0       ;string descriptor offset
  26.  
  27. END
  28.